Business Measure Composite Control Properties Interface |
|
The Business Measure Composite Control Properties Interface helps in configuring properties of composite control.
Table 1. Fields on the Properties Interface of Business Measure Composite Control for Graph
Field Name |
Description |
---|---|
Title |
Specify chart title. Title property is not applicable for Angular gauge and Linear gauge. You may use XForms label for the same. |
View |
Specify one of the following view types:
|
Render View on load |
Select this option if you want to render the view while the page loads. |
Chart Details > Select X-Axis Fields |
Click . The Select X-Axis Fields dialog box appears. You may refer to Select X-Axis Field Interface for filling in the fields. Select an X-axis field and click OK. Note:
For example: In an Order-to-Cash process, say you would like to visualize Total Orders by CustomerGroup per Year. For this, you can build a Business Measure with the following query: |
Chart Details > X-Axis Caption |
The selected X-Axis field name(s) appear in text box next to X-Axis Caption. Note: |
Chart Details > Select Y-Axis Fields |
Click . The Select Y-Axis Fields dialog box appears. Refer Select Y-Axis Field Interface for information about the fields that display, and fill in the appropriate fields. Select the Y-axis field and click OK. Note:
For example: In an Order-to-Cash process, say you would like to visualize Total Orders and Order Amount by Month. For this, you can build a Business Measure with following query:
|
Chart Details > Y-Axis Caption |
The selected Y-axis field name(s) appear in text box next to Y-Axis Caption. Note: |
X-Axis Label Style |
Select one of the following to specify the display style of the X-axis label:
|
Business Object Element |
Click . The Select Business Object Element dialog box appears. Select one of the output parameters as the Business Object element and click OK. The selected output parameter appears in the text box corresponding to the Business Object Element. Note: |
Time Frame |
By default, the defined time-frame appears in the Business Measure. If required, you can edit it. |
Input Parameter |
The value of the attribute for which you need dynamic input while designing the dashboard (as specified in Business Measure). You have to type in the input values, depending on the parameter and its data type. |
Table 2. Fields on the Properties Interface of Business Measure Composite Control for KPI
Field Name |
Description |
---|---|
Title |
Specify chart title. The Title property is not applicable for Angular gauge and Linear gauge. You can use XForms label for the same. |
View |
Specify one of the following as the View type:
|
Unit of Measure |
Displays, by default, the unit of measure that you selected while defining the KPI. You can change the unit as required. |
Range |
Define ranges based on the business measure built. You can edit if required, and assign colors to the ranges using the 'Color Picker' option. |
Show Legend |
Select this option to view the legend information of the ranges and unit of measure. If you want to view only the guage, you must clear this option. This option is selected by default. |
Render View on load check box |
Select this option if you want to render the view while the page loads. |
Gauge Details > Select Field |
Click . The Select Gauge Field dialog box appears. Select a gauge field and click OK. |
Gauge Details > Label |
Type a label. The label denotes the description of the value. For example, Total_OrderAmount. |
Time Frame |
By default, the time-frame appears in the Business Measure. You can edit it as required. |
Input Parameter |
Refers to the value of the attribute for which you need dynamic input while designing the dashboard (as specified in Business Measure). Type the input values, depending on the parameter and its data type. |
Table 3. APIs for the Business Measure Composite Control
API Name |
Description |
---|---|
setAsynchronous(String) |
Value can be "true" or "false". By default, the request is sent in asynchronous mode. To change the mode to synchronous, set setAsynchronous to "false", and invoke the refresh API to redraw the chart. |
refresh |
Use this API to redraw the chart. |
getChartObject |
This API returns the Chart object ,on which the APIs of Chart can be invoked |
Table 4. Events for the Business Measure Composite Control
Event |
Description |
---|---|
ondataclick |
Fires when clicked on a data point on the chart. Sample usage is like this. function Form_InitDone(eventObject) { <bmid>.addListener(ondataclicklistenerFn); } function ondataclicklistenerFn(eventObject) { //eventObject.businessObject will give the businessobject as a JSON object for the clicked datapoint }
|
Note:
The time values displayed will be based on the time zone of the client's browser in 12-hour format.